﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;
namespace Planisoft.DAO
{
    public class UbigeoDepartamentoDAO : MasterDataAcces , IUbigeoDepartamentoDAO
    {

        public List<UbigeoDepartamento> GetAllFromUbigeoDepartamento()
        {
            var query = from c in Context.UbigeoDepartamentoes
                            orderby c.DescUbiDpto
                            select c;

            return query.ToList();
                 
        }
    }
}
